#ifndef LOG_H
#define LOG_H

#include <string>
#include "spdlog/spdlog.h"
#include "config.h"

namespace Log {
#define LOG_DEBUG spdlog::debug
#define LOG_INFO spdlog::info
#define LOG_WARN spdlog::warn
#define LOG_ERR spdlog::error

void Init(const std::string &logName, const std::string &logPath, const std::string &logLevel);
void Init(FilterConfig &config);

}  // namespace Log

#endif  // LOG_H
